<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>推广中心</title>
		<script src="__INDEX__/js/mui.min.js"></script>
		<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
		<link rel="stylesheet" href="__INDEX__/css/style.css" />
		<link rel="stylesheet" href="__INDEX__/css/mall.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav mem_bar_nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="JavaScript:history.go(-1)"></a>
			<h1 class="mui-title">推广中心</h1>
		</header>
		<div class="mui-content tgewm_content">
			<div class="liansd_tjbox">
				<div class="liandxq_top" id="friend-name"> <a href="{:url('member/tglist')}">我的会员：{$counts}</a></div>
				<div class="liansd_ze">
					<p>累计佣金收入(元)</p>
					<p class="pri" id="total_money">{$info_user['commission_income']}</p>
				</div>
			</div>
			<div class="tgewm_box">
				<div class="tgerweim" style="width: 200px; height: 200px; border: unset">
					<div id="qrcode"></div>
					<img id="code_img" src="" style="display: none;">
				</div>
				<div class="tgewmtip">扫一扫，注册成为会员</div>
				<div class="tgewm_tip">会员享积分，折扣更多，优惠更多！</div>
			</div>
			<div class="mem_rmbottom"><span>龙信学院</span></div>
		</div>
	</body>

</html>
{include file="public/footer" /}
<script src="__PUBLIC__/static/js/jquery.form.js"></script>
<script src="__PUBLIC__/static/js/jquery.qrcode.js"></script>
<script src="__PUBLIC__/static/js/utf.js"></script>
<script>
	$("#qrcode").qrcode({
		render: "canvas", //设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
		text: "{$info_user['code_url']}",
		width: "200", //二维码的宽度
		height: "200", //二维码的高度
		background: "#ffffff", //二维码的后景色
		foreground: "#000000", //二维码的前景色
		src: "{$info_user['logo']}" //二维码中间的图片
	});
</script>